<template>
    <div class="MedicineHopper">
        <div class="left">
          <Menu mode="vertical" style="width: 200px" :theme="primary" active-name="1"
            ><router-link to="/peizhi" style="color: rgb(83, 83, 83)">
              <MenuItem name="1">
                <div class="menuImg">
                  <img
                    src="../../../image/pz-noActive.svg"
                    alt=""
                    style="width: 18px; height: 18px"
                  />
                  <div>
                    配置
                  </div>
                </div>
              </MenuItem></router-link
            >
            <router-link to="/buhuo" style="color: rgb(83, 83, 83)">
              <MenuItem name="2">
                <div class="menuImg">
                  <img
                    src="../../../image/bh-noActive.svg"
                    alt=""
                    style="width: 18px; height: 18px"
                  />
                  <div>
                    补货
                  </div>
                </div>
              </MenuItem>
            </router-link>
            
          </Menu>
        </div>
        <div class="right">
          <router-view />
        </div>
      </div>
</template>

<script>

</script>

<style scoped>
.MedicineHopper{
    display: flex;
    height: 100vh;
    
  }
  .right{
    width: 100%;
    
  }
  .left {
    background-color: #fff;
    border-right: 1px solid #dddddd;
  }
  .menuImg{
    display: flex;
  
    align-items: center;
  }
  .menuImg div{
    padding-left: 5px ;
  }
  .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){
    background-color: #f9f5f3;  
   }
</style>